<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>混入</title>
  <script src="../vue.js"></script>
</head>
<body>
  <div id="app">
    <child></child>
    <div>{{x}} {{y}}</div>
    <div>
      <button @click="a">click a</button>
      <!-- <button @click="b">click b</button> -->
    </div>
  </div>
  <script type="module">
    import './child.js'
    import { consoleMixin } from './console-mixin.js'
    import './global-mixin.js'
    var app = new Vue({
      el: '#app',
      // mixins: [consoleMixin],
      data: {
        x: 200,
        y: 300
      },
      methods: {
        a() {
          console.log(0)
        }
      },
      mounted() {
        console.log('mounted again.')
      },
    })
  </script>
</body>
</html>